<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>Home - BioCode</title>

</head>
<body>
<div id="main">
    <div class="content-container">
        <table class="table table-bordered table-condensed table-striped table-hover">
            <thead>
            <tr>
                <th width="250px">Name</th>
                <th width="550px">Description</th>
                <th width="150px">Updated At</th>
                <th>Operations</th>
            </tr>
            </thead>
            <tbody>

            <c:forEach items="${tools}" var="item">
                <tr>
                    <td><a href="${host}/tools/${item.id}/show">${item.name}</a></td>
                    <td>${item.desc}</td>
                    <td>${item.updatedAt}</td>
                    <td><a href="${host}/tools/${item.id}/edit">Edit</a></td>
                </tr>
            </c:forEach>

            </tbody>
        </table>
    </div>
</div>
<script>

</script>
</body>

</html>
